<extend name="template/base_index" />

<block name="area_header">
    <link rel="stylesheet" type="text/css" href="__CSS__/viewPost.css?v=__APP_VERSION__" />
</block>

<block name="area_body">
    <style type="text/css">
        .content {
            font-size:1.2rem;
        }
        .content img {
            width:100%;
        }
        .title-box {
            font-size:2rem;
        }
    </style>
    <notempty name="error">
        <div class="am-center am-text-center am-padding-sm am-text-danger  ">
        {$error}
        </div>

        <else/>

         <div class="head-line">
             <p class="title-box">{$title}</p>
             <div class="msg">
                 <span>时间：{:date("Y-m-d",$post['post_date'])} </span>
                 <span>来源：{$post.post_author_name}</span>
                 <span>阅读：{$post.post_view}</span>
             </div>
         </div>

         <div class="content">
             {$content}
         </div>

    </notempty>

    {__NORUNTIME__}

</block>

<block name="area_footer">

</block>
